﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace INSTA.BankApplication.DAL
{
    public class SqlServerSqlGenerator : AbstractSqlGenerator
    {
        public SqlServerSqlGenerator(DataMapper mapper) : base(mapper)
        {}


        /// <summary>
        /// Generates the SQL to get the last generated id, generated
        /// by the database engine.
        /// </summary>
        /// <returns>The last generated id</returns>
        /// <exception cref="System.NotImplementedException"></exception>
        public override string GenerateSQLFor_LastGeneratedId()
        {
            return "SELECT @@IDENTITY;";
        }


        


       




    }
}
